package com.sinothk.fc.bo.demand.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 商机需求信息
 * @Author: Liangyt
 * @Date: 2022-07-17
 * @Version: V1.0
 */
@Data
@TableName("fc_bo_demand")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "fc_bo_demand对象", description = "商机需求信息")
public class BoDemandSearchReq implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 大类id
     */
    @Excel(name = "大类id", width = 15)
    @ApiModelProperty(value = "大类id")
    private String typeMainId;
    /**
     * 大类名称
     */
    @Excel(name = "大类名称", width = 15)
    @ApiModelProperty(value = "大类名称")
    private String typeMainName;
    /**
     * 小类id
     */
    @Excel(name = "小类id", width = 15)
    @ApiModelProperty(value = "小类id")
    private String typeSubId;
    /**
     * 小类名称
     */
    @Excel(name = "小类名称", width = 15)
    @ApiModelProperty(value = "小类名称")
    private String typeSub;
    /**
     * 状态:0草稿1招标中2已完成3已中止
     */
    @Excel(name = "状态:0草稿1招标中2已完成3已中止", width = 15)
    @ApiModelProperty(value = "状态:0草稿1招标中2已完成3已中止")
    private Integer state;
    /**
     * 时限:0长期有效1现在需要2时段3次数
     */
    @Excel(name = "时限:0长期有效1现在需要2时段3次数", width = 15)
    @ApiModelProperty(value = "时限:0长期有效1现在需要2时段3次数")
    private Integer limitType;
    /**
     * 时效开始时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "时效开始时间")
    private Date limitStartTime;
    /**
     * 时效结束时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "时效结束时间")
    private Date limitEndTime;
    /**
     * 总限制次数
     */
    @Excel(name = "总限制次数", width = 15)
    @ApiModelProperty(value = "总限制次数")
    private Integer limitAllTimes;
    /**
     * 当前已完成次数
     */
    @Excel(name = "当前已完成次数", width = 15)
    @ApiModelProperty(value = "当前已完成次数")
    private Integer limitCurrTimes;
    /**
     * 限制范围
     */
    @Excel(name = "限制范围", width = 15)
    @ApiModelProperty(value = "限制范围")
    private String limitArea;
    /**
     * 规格标准
     */
    @Excel(name = "规格标准", width = 15)
    @ApiModelProperty(value = "规格标准")
    private String standards;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    /**设备id 店铺或服务ID*/
    private String storeId;
}
